const Quill = window.Quill;
const {
  default: TableUp,
  TableAlign,
  TableVirtualScrollbar,
  TableResizeLine,
  TableResizeBox,
  TableMenuContextmenu,
  TableMenuSelect,
  TableResizeScale,
  defaultCustomSelect,
  TableSelection,
  tableMenuTools,
} = window.TableUp;

Quill.register({
  [`modules/${TableUp.moduleName}`]: TableUp,
}, true);

const toolbarConfig = [
  ['bold', 'italic', 'underline', 'strike'],
  ['blockquote', 'code-block', 'code'],
  ['link', 'image', 'video', 'formula'],
  [{ list: 'ordered' }, { list: 'bullet' }, { list: 'check' }],
  [{ script: 'sub' }, { script: 'super' }],
  [{ indent: '-1' }, { indent: '+1' }],
  [{ direction: 'rtl' }],
  [{ size: ['small', false, 'large', 'huge'] }],
  [{ header: [1, 2, 3, 4, 5, 6, false] }],
  [{ color: [] }, { background: [] }],
  [{ font: [] }],
  [{ align: [] }],
  [{ [TableUp.toolName]: [] }],
  ['clean'],
];

const quillOptions = [
  {
    // debug: 'info',
    theme: 'snow',
    modules: {
      toolbar: toolbarConfig,
      [TableUp.moduleName]: {
        full: false,
        autoMergeCell: true,
        fullSwitch: true,
        icon: '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><!-- Icon from Tabler Icons by Paweł Kuna - https://github.com/tabler/tabler-icons/blob/master/LICENSE --><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2zm0 5h18M10 3v18"/></svg>',
        customSelect: defaultCustomSelect,
        customBtn: true,
        modules: [
          { module: TableVirtualScrollbar },
          { module: TableAlign },
          { module: TableResizeLine },
          {
            module: TableResizeScale,
            options: {
              blockSize: 12,
            },
          },
          {
            module: TableSelection,
            options: {
              selectColor: '#00ff8b4d',
            },
          },
          {
            module: TableMenuContextmenu,
            options: {
              localstorageKey: 'used-color',
              tipText: true,
              tools: [
                tableMenuTools.InsertCaption,
                tableMenuTools.InsertTop,
                tableMenuTools.InsertRight,
                tableMenuTools.InsertBottom,
                tableMenuTools.InsertLeft,
                tableMenuTools.Break,
                tableMenuTools.MergeCell,
                tableMenuTools.SplitCell,
                tableMenuTools.Break,
                tableMenuTools.DeleteRow,
                tableMenuTools.DeleteColumn,
                tableMenuTools.DeleteTable,
                tableMenuTools.Break,
                tableMenuTools.BackgroundColor,
                tableMenuTools.BorderColor,
                tableMenuTools.Break,
                tableMenuTools.CopyCell,
                tableMenuTools.CutCell,
                tableMenuTools.Break,
                tableMenuTools.SwitchWidth,
                tableMenuTools.Break,
                tableMenuTools.ToggleTdBetweenTh,
                tableMenuTools.ConvertTothead,
                tableMenuTools.ConvertTotfoot,
              ],
              defaultColorMap: [
                [
                  'rgb(255, 255, 255)',
                  'rgb(0, 0, 0)',
                  'rgb(72, 83, 104)',
                  'rgb(41, 114, 244)',
                  'rgb(0, 163, 245)',
                  'rgb(49, 155, 98)',
                  'rgb(222, 60, 54)',
                  'rgb(248, 136, 37)',
                  'rgb(245, 196, 0)',
                  'rgb(153, 56, 215)',
                ],
                [

                  'rgb(242, 242, 242)',
                  'rgb(127, 127, 127)',
                  'rgb(243, 245, 247)',
                  'rgb(229, 239, 255)',
                  'rgb(229, 246, 255)',
                  'rgb(234, 250, 241)',
                  'rgb(254, 233, 232)',
                  'rgb(254, 243, 235)',
                  'rgb(254, 249, 227)',
                  'rgb(253, 235, 255)',
                ],
              ],
            },
          },
        ],
        texts: {
          fullCheckboxText: '插入满宽度表格',
          customBtnText: '自定义行列数',
          confirmText: '确认',
          cancelText: '取消',
          rowText: '行数',
          colText: '列数',
          notPositiveNumberError: '请输入正整数',
          custom: '自定义',
          clear: '清除',
          transparent: '透明',
          perWidthInsufficient: '百分比宽度不足, 如需完成操作需要转换表格为固定宽度，是否继续?',

          CopyCell: '复制单元格',
          CutCell: '剪切单元格',
          InsertTop: '向上插入一行',
          InsertRight: '向右插入一列',
          InsertBottom: '向下插入一行',
          InsertLeft: '向左插入一列',
          MergeCell: '合并单元格',
          SplitCell: '拆分单元格',
          DeleteRow: '删除当前行',
          DeleteColumn: '删除当前列',
          DeleteTable: '删除当前表格',
          BackgroundColor: '设置背景颜色',
          BorderColor: '设置边框颜色',
          SwitchWidth: '切换表格宽度',
          InsertCaption: '插入表格标题',
          ToggleTdBetweenTh: '切换表头单元格',
          ConvertTothead: '转换为表头',
          ConvertTotfoot: '转换为表尾',
        },
      },
    },
  },
  {
    // debug: 'info',
    theme: 'snow',
    readOnly: true,
    modules: {
      toolbar: toolbarConfig,
      [TableUp.moduleName]: {
        full: true,
        customSelect: defaultCustomSelect,
        modules: [
          { module: TableVirtualScrollbar },
          { module: TableAlign },
          { module: TableResizeBox },
          { module: TableResizeScale },
          { module: TableSelection },
          { module: TableMenuSelect },
        ],
      },
    },
  },
  {
    // debug: 'info',
    theme: 'snow',
    readOnly: false,
    modules: {
      toolbar: toolbarConfig,
      [TableUp.moduleName]: {
        full: false,
        autoMergeCell: false,
        customSelect: defaultCustomSelect,
        modules: [
          { module: TableVirtualScrollbar },
          { module: TableAlign },
          { module: TableResizeLine },
          { module: TableResizeScale },
          { module: TableSelection },
          { module: TableMenuContextmenu },
        ],
      },
    },
  },
];

const quill = [];
window.quills = quill;
for (const [i, options] of quillOptions.entries()) {
  const index = i + 1;
  const quillItem = new Quill(`#editor${index}`, options);
  const btn = document.getElementById(`btn${index}`);
  const output = document.getElementById(`output${index}`);
  btn.addEventListener('click', () => {
    const content = quillItem.getContents();
    console.log(content);
    output.innerHTML = '';
    // eslint-disable-next-line unicorn/no-array-for-each
    content.forEach((content) => {
      const item = document.createElement('li');
      item.textContent = `${JSON.stringify(content)},`;
      output.appendChild(item);
    });
  });
  const writable = document.getElementById(`writable${index}`);
  if (writable) {
    writable.addEventListener('click', () => {
      quillItem.enable(!quillItem.isEnabled());
    });
  }
  quill.push(quillItem);
}

quill[0].setContents([
  { insert: '\n' },
  { insert: { 'table-up-col': { tableId: '1', colId: '1', width: 80 } } },
  { insert: { 'table-up-col': { tableId: '1', colId: '2', width: 80 } } },
  { insert: { 'table-up-col': { tableId: '1', colId: '3', width: 80 } } },
  { insert: { 'table-up-col': { tableId: '1', colId: '4', width: 80 } } },
  { insert: { 'table-up-col': { tableId: '1', colId: '5', width: 80 } } },
  { insert: '1' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '1', colId: '1', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '2' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '1', colId: '2', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '3' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '1', colId: '3', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '4' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '1', colId: '4', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '5' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '1', colId: '5', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '6' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '2', colId: '1', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '7' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '2', colId: '2', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '8' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '2', colId: '3', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '9' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '2', colId: '4', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '10' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '2', colId: '5', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '11' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '3', colId: '1', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '12' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '3', colId: '2', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '13' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '3', colId: '3', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '14' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '3', colId: '4', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '15' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '3', colId: '5', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '16' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '4', colId: '1', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '17' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '4', colId: '2', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '18' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '4', colId: '3', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '19' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '4', colId: '4', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '20' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '4', colId: '5', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '21' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '5', colId: '1', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '22' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '5', colId: '2', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '23' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '5', colId: '3', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '24' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '5', colId: '4', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '25' },
  { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '5', colId: '5', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '\n' },

  // { insert: '\n' },
  // { insert: { 'table-up-col': { tableId: '6u4kuytbzzh', colId: 'pedy04522cn', width: 20, full: 'true' } } },
  // { insert: { 'table-up-col': { tableId: '6u4kuytbzzh', colId: 'bldcnewj21s', width: 20, full: 'true' } } },
  // { insert: { 'table-up-col': { tableId: '6u4kuytbzzh', colId: 'zyrflypnouc', width: 20, full: 'true' } } },
  // { insert: { 'table-up-col': { tableId: '6u4kuytbzzh', colId: 'm6tip1nl28s', width: 20, full: 'true' } } },
  // { insert: { 'table-up-col': { tableId: '6u4kuytbzzh', colId: 'd05r661z0vp', width: 20, full: 'true' } } },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: '7k6lukrlm8b', colId: 'pedy04522cn', rowspan: 3, colspan: 3 } }, insert: '\n\n\n\n\n\n\n\n\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: '7k6lukrlm8b', colId: 'm6tip1nl28s', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: '7k6lukrlm8b', colId: 'd05r661z0vp', rowspan: 4, colspan: 1 } }, insert: '\n\n\n\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: 'n9whqu82whh', colId: 'm6tip1nl28s', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: 'wpuv02ej5e9', colId: 'm6tip1nl28s', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: '1mqppxcm5mg', colId: 'pedy04522cn', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: '1mqppxcm5mg', colId: 'bldcnewj21s', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: '1mqppxcm5mg', colId: 'zyrflypnouc', rowspan: 2, colspan: 2 } }, insert: '\n\n\n\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: 'fnpvihdz0a9', colId: 'pedy04522cn', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: 'fnpvihdz0a9', colId: 'bldcnewj21s', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: '6u4kuytbzzh', rowId: 'fnpvihdz0a9', colId: 'd05r661z0vp', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: '\n' },

  // { insert: '\n' },
  // { insert: { 'table-up-col': { tableId: '1', colId: '1', full: 'true', width: 100 } } },
  // { insert: { video: 'http://127.0.0.1:5500/docs/index.html' } },
  // { attributes: { 'table-up-cell-inner': { tableId: '1', rowId: '1', colId: '1', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: '\n' },
  // { insert: '\n' },
  // { insert: { 'table-up-col': { tableId: '7oymehdtx0k', colId: 'hr7qo4t2dus', full: 'true', width: 100 } } },
  // { insert: { image: 'https://upload-bbs.miyoushe.com/upload/2024/06/18/5556092/73b7bae28fded7a72d93a35d5559b24c_3979852353547906724.png' } },
  // { attributes: { 'table-up-cell-inner': { tableId: '7oymehdtx0k', rowId: '69gog08ow04', colId: 'hr7qo4t2dus', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: '\n' },
  // { insert: '\n' },
  // { insert: { 'table-up-col': { tableId: 'dcxkjqqrkyh', colId: 'xaaktiszroa', width: 100, full: true } } },
  // { attributes: { background: '#ff9900' }, insert: 'qgwqgwqg' },
  // { attributes: { 'list': 'bullet', 'table-up-cell-inner': { tableId: 'dcxkjqqrkyh', rowId: 'rjs4sxwojek', colId: 'xaaktiszroa', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: '\n' },
  // { insert: '\n' },
  // { insert: { 'table-up-col': { tableId: 'jryr10aez6k', colId: 'bpyaloa444v', width: 100, full: true } } },
  // { insert: 'qwgqwg' },
  // { attributes: { 'header': 2, 'table-up-cell-inner': { tableId: 'jryr10aez6k', rowId: 'b0wlvrbwf4w', colId: 'bpyaloa444v', rowspan: 1, colspan: 1, backgroundColor: 'rgb(171, 7, 7)' } }, insert: '\n' },
  // { insert: '\n' },
  // { insert: '\n' },
  // { insert: { 'table-up-col': { tableId: 'smdc7riuiq', colId: 'ljhhnqjnbz', width: 100, full: true } } },
  // { insert: '123' },
  // { attributes: { 'code-block': 'plain', 'table-up-cell-inner': { tableId: 'smdc7riuiq', rowId: 'l2oxrb0yet', colId: 'ljhhnqjnbz', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: 'code' },
  // { attributes: { 'code-block': 'plain', 'table-up-cell-inner': { tableId: 'smdc7riuiq', rowId: 'l2oxrb0yet', colId: 'ljhhnqjnbz', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: '\n' },

  // { insert: '\n' },
  // { insert: { 'table-up-col': { tableId: 'izqc1radnr', colId: 'bp8dovfq0tp', width: 115 } } },
  // { insert: { 'table-up-col': { tableId: 'izqc1radnr', colId: 'bpqp6e4pctf', width: 115 } } },
  // { insert: { 'table-up-col': { tableId: 'izqc1radnr', colId: 'dycqzdsuyyk', width: 115 } } },
  // { insert: 'qwg' },
  // { attributes: { 'header': 2, 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: '2hg8za6dno5', colId: 'bp8dovfq0tp', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: 'qwg' },
  // { attributes: { 'header': 2, 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: '2hg8za6dno5', colId: 'bp8dovfq0tp', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: 'qwg' },
  // { attributes: { 'list': 'bullet', 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: '2hg8za6dno5', colId: 'bpqp6e4pctf', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: 'qwg' },
  // { attributes: { 'list': 'bullet', 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: '2hg8za6dno5', colId: 'bpqp6e4pctf', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: 'wgq' },
  // { attributes: { 'list': 'bullet', 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: '2hg8za6dno5', colId: 'bpqp6e4pctf', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: '2hg8za6dno5', colId: 'dycqzdsuyyk', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: 'qwgqwg' },
  // { attributes: { 'code-block': 'plain', 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: 'pjzxcc6clq', colId: 'bp8dovfq0tp', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: 'qwg' },
  // { attributes: { 'code-block': 'plain', 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: 'pjzxcc6clq', colId: 'bp8dovfq0tp', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: 'pjzxcc6clq', colId: 'bpqp6e4pctf', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: 'pjzxcc6clq', colId: 'dycqzdsuyyk', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: 'h7kh7qu6s', colId: 'bp8dovfq0tp', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: 'h7kh7qu6s', colId: 'bpqp6e4pctf', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { attributes: { 'table-up-cell-inner': { tableId: 'izqc1radnr', rowId: 'h7kh7qu6s', colId: 'dycqzdsuyyk', rowspan: 1, colspan: 1 } }, insert: '\n' },
  // { insert: '\n' },
]);
quill[1].setContents([
  { insert: '\n' },
  { insert: { 'table-up-col': { tableId: '8v36875pbr6', colId: '1vwhsx9zayhi', full: true, width: 20 } } },
  { insert: { 'table-up-col': { tableId: '8v36875pbr6', colId: 'gpais2dyp87', full: true, width: 20 } } },
  { insert: { 'table-up-col': { tableId: '8v36875pbr6', colId: 'xtfguzk629', full: true, width: 20 } } },
  { insert: { 'table-up-col': { tableId: '8v36875pbr6', colId: '94w8b6fhy2p', full: true, width: 20 } } },
  { insert: { 'table-up-col': { tableId: '8v36875pbr6', colId: 'y0epsy6odnm', full: true, width: 20 } } },
  { insert: '1' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'zjhlbpvwjo', colId: '1vwhsx9zayhi', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '2' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'zjhlbpvwjo', colId: 'gpais2dyp87', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '3' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'zjhlbpvwjo', colId: 'xtfguzk629', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '4' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'zjhlbpvwjo', colId: '94w8b6fhy2p', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '5' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'zjhlbpvwjo', colId: 'y0epsy6odnm', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '6' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'ogznp2n7y8b', colId: '1vwhsx9zayhi', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '7' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'ogznp2n7y8b', colId: 'gpais2dyp87', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '8' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'ogznp2n7y8b', colId: 'xtfguzk629', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '9' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'ogznp2n7y8b', colId: '94w8b6fhy2p', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '10' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'ogznp2n7y8b', colId: 'y0epsy6odnm', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '11' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: '9vw214waitk', colId: '1vwhsx9zayhi', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '12' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: '9vw214waitk', colId: 'gpais2dyp87', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '13' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: '9vw214waitk', colId: 'xtfguzk629', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '14' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: '9vw214waitk', colId: '94w8b6fhy2p', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '15' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: '9vw214waitk', colId: 'y0epsy6odnm', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '16' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'j4uarvyr86d', colId: '1vwhsx9zayhi', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '17' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'j4uarvyr86d', colId: 'gpais2dyp87', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '18' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'j4uarvyr86d', colId: 'xtfguzk629', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '19' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'j4uarvyr86d', colId: '94w8b6fhy2p', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '20' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'j4uarvyr86d', colId: 'y0epsy6odnm', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '21' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'fow0uajprzw', colId: '1vwhsx9zayhi', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '22' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'fow0uajprzw', colId: 'gpais2dyp87', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '23' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'fow0uajprzw', colId: 'xtfguzk629', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '24' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'fow0uajprzw', colId: '94w8b6fhy2p', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '25' },
  { attributes: { 'table-up-cell-inner': { tableId: '8v36875pbr6', rowId: 'fow0uajprzw', colId: 'y0epsy6odnm', rowspan: 1, colspan: 1 } }, insert: '\n' },
  { insert: '\n' },
]);
